package cate.common.table.activity.dailyrecharge.item;

import cate.common.table.XSSFRowWrap;
import cate.common.table.activity.base.RechargeAddUpBaseRow;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("每日充值-每日充值Row")
public class DailyRechargeItemRow extends RechargeAddUpBaseRow {
    @NoteField("期数")
    public int configId;
    @NoteField("天数")
    public int dayIndex;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        id = xrw.getInteger("ID");
        configId = xrw.getInteger("期数");
        dayIndex = xrw.getInteger("天数");
        paySum = xrw.getLong("累计充值数额");
        rewardStr = xrw.getString("奖励");
        mailId = xrw.getInteger("邮件ID", 0);
    }
}
